package com.chenbei.erp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chenbei.erp.domain.Customer;
import com.chenbei.erp.vo.req.CustomerReq;

public interface ICustomerService extends IService<Customer> {

    /**
     * 新增客户
     * @param customer 客户实例
     */
    void add(Customer customer);

    /**
     * 新增客户
     * @param customer 客户实例
     */
    void update(Customer customer);

    /**
     * 分页查询
     * @param CustomerReq 客户查询条件
     * @return Page
     */
    Page<Customer> pageList(CustomerReq CustomerReq);
}
